<template>
    <div id="videoinfo" v-html="data" style="width:100%">

    </div>
</template>

<style>
    #videoinfo  img{
        width: 100%;
    }
</style>

<script>
    // require styles
    import 'quill/dist/quill.core.css'
    import 'quill/dist/quill.snow.css'
    import 'quill/dist/quill.bubble.css'

    export default {
        mounted(){
            let data = {
                id:this.$route.params.id
            }
            axios.post('/api/getprobleminfo',data).then(rew=>{
               this.data = rew.data.data.content
            })
        },
        data(){
            return{
                data:'',
            }
        }
    }
</script>
